<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/3/17
 * Time: 11:37
 */

echo "<title>9-10 字符串介绍</title>";
echo "<p style='text-align: center'><a href=\"index.php\"><font size=\"4\">目录</font></a></p>";
header("Content-type: text/html; charset=utf-8");
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />";

//使用单引号定义一个字符串
$hello = 'hello world';

//使用双引号定义一个字符串
$hello = "hello world";

//heredoc语法定义字符串
$hello = <<<TAG
hello world
TAG;

